/**
 * 
 */
package com.shunwang.io.stream;

import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;

import junit.framework.TestCase;

/**
 * @author ljw
 *
 */
public class BufferedInputStreamTest extends TestCase {

	public void testBuffered() throws IOException{
		BufferedInputStream stream = new BufferedInputStream(new FileInputStream("d:/aaaa/test/1.txt"));
		stream.read();
		stream.read();
		stream.mark(3);
		stream.read();
		stream.read();
		stream.reset();
	}
}
